package day003;

public class WhileTest02 {
    public static void main(String[] args) {
        double i = 0.0001;
        double target = 8848.86;
        int cnt = 0;
        while (i < target) {
            i *= 2;
            cnt++;
        }

        System.out.println("总共折了：" + cnt + "次");
    }
}
